Skip to content

docs: say what moneta's specification settles, and read a balance dated without a time - #69

Merged
landsman merged 2 commits into
mainfrom
be/what-the-spec-settles
Nov 11, 2026
Merged

landsman merged 2 commits into
mainfrom
be/what-the-spec-settles

Conversation

@landsman

Copy link
Copy Markdown
Owner

Closes #9

MONETA's specification (`VipAISPPayments_v4` 1.0.1, from the developer portal) confirms most of what the live tests found and settles a few open questions: no movement has a time of day, the partner headers are optional, the date range filters on `valueDate`, a page can exceed `size` with pending movements, and a 429 exists but with no limit and no `Retry-After`. The docs now say so, and the portal's own guides add that a partner without a PSD2 licence gets a sandbox only: production is always the merchant's token.

One code change: the specification calls a balance's `dateTime` "date or date and time". Live it has always been an instant, but a bare date would have failed the parse; it now reads as the start of that day in Prague, and anything else unreadable is an `InvalidResponse`.

The specification itself is not committed. The portal's terms do not say it may be republished, so `spec/` is ignored by git, a place to keep downloads beside the code.

Live responses also carry `bankTransactionCode` and `creditLine`, which the specification does not list; noted in moneta-api.md.

@landsman
landsman merged commit 785c990 into main Nov 11, 2026
6 checks passed
@landsman
landsman deleted the be/what-the-spec-settles branch November 11, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

be: find out how to get the time of a movement, MONETA sends only its date

1 participant